package com.airbat.prize.web.web.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

@ConfigurationProperties(prefix = "yudao.gateway")
@Validated
@Data
@Component
public class GatewayProperties {

    /**
     * 政务网 host:port
     */
    private String token;

    /**
     * 政务网 host:port
     */
    private String outsideUrl;

    /**
     * GA网 host:port
     */
    private String insideUrl;

}
